package com.sojson.project.sys.role.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sojson.base.impl.Base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户和角色关联表Bean
 * 
 * @author liu
 * @date 2022-09-16
 */
@Data
@ApiModel("用户和角色关联表Bean")
@TableName("sys_user_role")
public class UserRole extends Base {

    private static final long serialVersionUID = 1L;
    /** 角色ID */
    @TableId
    @ApiModelProperty("角色ID")
    private String roleId;
    /** 用户ID */
    @ApiModelProperty("用户ID")
    private String userId;

    public UserRole() {

    }

}